<div style="padding:10px;">
<div style="font-size:2em;">Caution !</div>
<div style="color:red;">Deleting this task will also permanently delete all its following subtasks and associated notes.</div>
<br/>
Impacts:<br/>
- Notes history will be lost<br/>
- Done tasks will not appear in next daily change email.<br/>
<br/>
<b>Do you confirm that you want also to delete all theses tasks ?</b><br/>
<br/>
<input type="button" value="I confirm" onclick="delete_confirmed(<%=@id%>,'<%=@item_name%>');Windows.close('confirm_delete',event);"><br/>
<br/>

<!-- Tasks -->

<div style="width:600px;overflow:auto;">
<ul id="taskslist">
<%= render(:partial => "task", :collection => tasks, :locals=>{:tasks=>@tasks, :item_name=>'d'}) -%>
</ul>
</div>
<br/>
<br/>
</div>